package com.caishi.lkx.exam.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caishi.lkx.exam.ienum.type.QuestionCollectionType;
import com.caishi.lkx.exam.model.NoteModel;
import com.zzw.common.entity.IBaseMapper;
import org.apache.ibatis.annotations.Param;

public interface NoteMapper extends IBaseMapper<NoteModel, String> {
    IPage<NoteModel> pageList(@Param("pager") Page<NoteModel> pager, @Param("userId") String userId,
                              @Param("relationId")String relationId,  @Param("questionId")String questionId,@Param("verify") Integer verify);
    IPage<NoteModel> getNoteListMy(@Param("pager")Page<NoteModel> page,@Param("categoryId")String categoryId,@Param("userId") String userId,@Param("type") QuestionCollectionType type);
}
